package com.shunda.ysdgj.manager.service.goods;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shunda.ysdgj.model.dto.base.IdsDto;
import com.shunda.ysdgj.model.dto.goods.GoodsBrandCategoryFindDto;
import com.shunda.ysdgj.model.entity.goods.GoodsBrandCategory;
import com.shunda.ysdgj.model.vo.goods.GoodsBrandCategoryVo;
import com.shunda.ysdgj.model.vo.goods.GoodsBrandVo;
import com.shunda.ysdgj.model.vo.goods.GoodsCategoryVo;

import java.util.List;

public interface GoodsBrandCategoryService {
    public List<GoodsBrandVo> findBrandByCategoryId(Long id);
    public List<GoodsCategoryVo> findByBrandId(Long id);
    public IPage<GoodsBrandCategoryVo> findByPage(GoodsBrandCategoryFindDto goodsBrandCategoryFindDto);
    public boolean add(GoodsBrandCategory goodsBrandCategory);
    public boolean modify(GoodsBrandCategory goodsBrandCategory);
    public boolean deleteByIds(IdsDto idsDto);
}
